package ambika;

public class Singleton {
	private static Singleton singleTon = null;
private Singleton(){
	
}

public static Singleton getInstance(){
	if(singleTon == null){
		System.out.println("Please create a new object");
	}
	else{
		singleTon = new Singleton();
	}
	return singleTon;
}

}
